package com.example.musicplayer.entity;

import android.graphics.Bitmap;

public class Music {
    public String id; // 歌曲id
    public String name; // 歌曲名称
    public String artist; // 歌手名称
    public String path; // 歌曲路径
    public Bitmap albumArt;// 专辑封面

    public Music(String id, String name, String artist, String path, Bitmap albumArt) {
        this.id = id;
        this.name = name;
        this.artist = artist;
        this.path = path;
        this.albumArt = albumArt;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Bitmap getAlbumArt() {
        return albumArt;
    }

    public void setAlbumArt(Bitmap albumArt) {
        this.albumArt = albumArt;
    }
}
